import datetime

now1 = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
print(now1)
print(type(now1))